import request from '/@/utils/request';

/**
 *
 * 数据仪表盘接口集合
 * @method noticeConfig 通知配置
 * @method noticeList 通知列表
 * @method sendPatient 发送通知给患者
 * @method sendDoctor 发送通知给医生
 */

export function dashbordApi() {
    return {
        getDashbord: (params) => {
            return request({
                url: '/statistics/dashboard',
                method: 'get',
                params:params,
            });
        },
        getWorkload: (params) => {
            return request({
                url: '/statistics/workload/get',
                method: 'get',
                params:params,
            });
        }
    }
}
